import { defineStore } from "pinia";
export const useCountStore = defineStore("count",{
    state(){
        return {
            count:9
        }
    },
    getters:{
        doubleCount():number{
            return this.count * 2
        }
    },
    actions:{
        addCount(value:number){
            this.count += value
        }
    }
})